﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            String mau = @"^[\w\.]+[\w]+@[\w]+\.[\w]+\z"; // mail
            string chuoi = "4.33"; // Chuỗi cần tìm 
            Regex myRegx = new Regex(mau);
            mau = @"^\d+\.{0,1}\d+\z";
            myRegx = new Regex(mau);
            Console.Write(myRegx.IsMatch(chuoi));
        }
    }
}
